package com.zeratul.common.core.config;

import com.zeratul.common.core.annotation.ExcludeScan;
import com.zeratul.common.core.filter.CommonPackageFilter;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

@AutoConfiguration
@ComponentScan(basePackages = "com.zeratul",
        excludeFilters = {
            @ComponentScan.Filter(type = FilterType.CUSTOM, classes = CommonPackageFilter.class),
            @ComponentScan.Filter(type = FilterType.ANNOTATION, classes = ExcludeScan.class)
        })
public class CoreConfiguration {
}
